package com.wing.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.order.model.entity.InventoryJobSignProductDetail;
import com.wing.order.model.request.InventoryJobSignProductDetailForm;
import com.wing.order.model.response.InventoryJobSignProductDetailVO;

import java.util.List;
import java.util.Map;

/**
 * 入库产品签收详情表-Service
 *
 * @author
 */
public interface InventoryJobSignProductDetailService extends IService<InventoryJobSignProductDetail> {

    /**
     * 添加
     *
     * @param inventoryJobSignProductDetailForm
     * @return
     */
    int add(InventoryJobSignProductDetailForm inventoryJobSignProductDetailForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<InventoryJobSignProductDetailVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<InventoryJobSignProductDetailVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    InventoryJobSignProductDetailVO get4appById(Long id);

    List<InventoryJobSignProductDetail> getSignProductBySignId(Long signId);
}
